		<link rel="stylesheet" href="<?php echo APP_TEMPLATES_URL;?>/css/checkbix.min.css" />
		<link rel="stylesheet" href="<?php echo APP_TEMPLATES_URL;?>/css/public.css" />
		<script src="<?php echo APP_TEMPLATES_URL;?>/js/checkbix.min.js" type="text/javascript" charset="utf-8"></script>
				<script type="text/javascript">
			Checkbix.init();
		</script>

<style>
	
	html,body {
		background: #F4F4F4 !important;
	}
	.indexm {
		display: none;
	}
	.sign_rule {
		margin-left: 20%;border: 1px solid #000000; line-height: 40px;width: 60%;font-size: 16px;cursor: pointer;
	}
	.sign {
		width: 235px;height: 65px;
	}
</style>
<script type="application/javascript">
	$(function(){
		$(".sign_rule").click(function(){
			window.location.href = 'index.php?act=login&op=sign_rule';
		});
		var sign_today = <?php echo $output['sign_today']; ?>;

		$(".sign").click(function(){//签到
			if(sign_today==0){
				$.get("index.php?act=login&op=save_sign", function(data){
					if (data == '1') {
						$(".tanmu").slideToggle();
						$(".tanmu2").slideToggle();

						var point_count = <?php echo $output['point_count']; ?>;
						var point_num = <?php echo $output['point_num']; ?>;
						$('#point_count').html(point_count+20);
						$('#sign_day').html('连续签到 '+ (point_num+1) +' 天');
						sign_today+=1;
					}else{
						alert('签到失败');
					}
				});
			}else{
				$('#sign_title').html('&nbsp;&nbsp;提示');
				$('#sign_msg').html('今天已签到哦！');
				$('#sign_msg2').html('您可以去邀请好友获积分！');
				$(".tanmu").slideToggle();
				$(".tanmu2").slideToggle();
			}
		});

		$(".hidden_div").click(function(){//签到
			$(".tanmu").slideToggle();
			$(".tanmu2").slideToggle();
		});
	});
</script>
<!-- 导航 -->
<div class="mui-bar mui-bar-nav bj">
	<button class="mui-btn mui-btn-link mui-btn-nav mui-pull-left zys  mui-action-back">
		<img style=" max-width: 50%; vertical-align: middle;" src="<?php echo APP_TEMPLATES_URL;?>/images/back.png" />
	</button>
	<button class="mui-btn mui-btn-link mui-btn-nav mui-pull-right zys rigbtn">
		<a style="margin-right: 10px;font-size: 16px;" href="index.php?act=login&op=sign_record">签到记录</a>
	</button>
	<h1 style="width: 50%; margin: 0 auto;" class="mui-title"><label style="font-size: 22px;vertical-align: middle;">签到</label></h1>
</div>

<div style="position:relative;">
	<img style="width: 100%;" src="<?php echo APP_TEMPLATES_URL;?>/images/sign_1.png" />
	<div style="position:absolute;z-indent:2;top: 55%;width: 100%;text-align: center;">
		<label style="font-size: 16px;">签到累计获积分</label>&nbsp; <label style="font-size: 22px;" id="point_count"><?php echo $output['point_count']; ?></label>
		<p style="margin-top: 20px;margin-bottom: 30px;"><img class="sign" src="<?php echo APP_TEMPLATES_URL;?>/images/sign_2.png" /></p>
		<label style="font-size: 16px;" id="sign_day">连续签到 <?php echo $output['point_num']; ?> 天</label>
	</div>
</div>

<div style="width: 100%;text-align: center;margin-top: 20px;">
	<div class="sign_rule">签到规则</div>
</div>


<style>
	.tanmu{background: rgba(0, 0, 0, 0.51); position: fixed; width: 100%; height: 100%; z-index: 990; top: 0; display: none;}
	.tanmu2{position: fixed; width: 80%;z-index: 996; bottom: 0;margin-left: 10%;margin-bottom: 55%;border-radius:5px; display: none;}
	.buttomcop{ font-size: 20px; line-height: 60px; color: #000000; background: #f0b33e; float: left; text-align: center; width: 100%;}
	.tanmu2 p{ line-height: 26px;}
	.hidden_div {font-size: 30px;color: #FFFFFF;position:fixed;margin-left: 68%;margin-top: 10px;font-weight: bold;}
</style>
<!--#FFFFFF-->
<div style="text-align: center;" class="tanmu"></div>
<div class="tanmu2" align="center">
	<p style="font-size: 22px;color: #FFFFFF;position:fixed;margin-left: 30%;margin-top: 10px;" id="sign_title">恭喜你</p>
	<p class="hidden_div">×</p>
	<img width="100%" src="<?php echo APP_TEMPLATES_URL;?>/images/sign_3.png" />
	<table width="89.5%" style="background-color: #FFFFFF;border-radius:5px;margin-top: -5px;">
		<tr>
			<td style="padding: 20px 10px 10px 10px;font-size: 14px;color:#999999; " align="center">
				<p id="sign_msg">成功签到，+20积分</p>
				<p id="sign_msg2">邀请好友可获得更多积分哦！</p>
			</td>
		</tr>
		<tr>
			<td align="center">
                <a href="<?php echo APP_SITE_URL.DS.'index.php?act=temp&op=invite'; ?>"><img width="50%" height="50%" src="<?php echo APP_TEMPLATES_URL;?>/images/sign_4.png" /></a>
			</td>
		</tr>
		<tr style="height: 25px;"><td></td></tr>
	</table>
	<br/>
</div>